<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
<script>
var default_settings = {
	signature: "Set signature in options page.",
	post_link_bahavior: "quickpost",
	create_topic_behavior: "quicktopic",
	use_keyboard_shortcuts: true
}

if (!localStorage.cfaqs) {
	localStorage.cfaqs = JSON.stringify(default_settings);
}

chrome.extension.onRequest.addListener(
	function(request, sender, sendResponse) {
		if (request.get == "settings")	{
			sendResponse(JSON.parse(localStorage.cfaqs));
		} else {
			sendResponse({});
		}
	});
</script>
</head>
</html>